<?php

namespace app\admin\model\shop\order;

use think\Model;

/**
 * OrderDetail
 */
class OrderDetail extends Model
{
    // 表名
    protected $name = 'shop_order_detail';

    // 自动写入时间戳字段
    protected $autoWriteTimestamp = true;

    protected $type = [
        'discount_data' => 'json'
    ];

    protected $jsonAssoc = true;
}